import request from '@/utils/request'

// 获取用户角色列表
export function getRoles(username) {
  return request({
    url: '/system/userRole/getRoles',
    method: 'get',
    params: {username:username}
  })
}
